﻿--[[
   @brief    model for group message
   @author   vincentlao
   @version  1.0
   @date     2015-06-26
--]]

friend_message_desc = 
{
    module_name = "friend_message_desc",
    events = 
    {
        {
            c_event = 
            {
                {
                    id  = ierd_tgp.social_network.SOCIAL_NETWORK_EVENT_RECEIVE_FRIEND_MSG,
                    callback = "friend_message_control.on_receive_friend_msg"
                },
                {
                    id  = ierd_tgp.social_network.SOCIAL_NETWORK_EVENT_GET_FRIEND_DETAIL,
                    callback = "friend_message_control.process_get_friend_info"
                },
            },
            lua_file = "social\\friend_message\\control.lua"
        }
    }
}

desc_mgr.add(friend_message_desc)